<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html; charset=utf-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>查询用户</title>
<%@include file="../header.jsp"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/components/form/jquery.form.js"></script>	
<script type="text/javascript"
	src="${pageContext.request.contextPath}/components/jscommons/jquery-1.7.1.min.js"></script>		
<script type="text/javascript">
	$(document).ready(function() {
		selCompany();
	});
	function selCompany(){
		jQuery.post(webContext + "/company/selCompanyCombo.do",function(str) {
			var data = eval('(' + str + ')');
			for (var i=0; i<data.data.length; i++) {
	         $("#sel_Company").append("<option value='" + data.data[i].companyCode+ "'>" + data.data[i].companyName + "</option>");
	      }
		});
	}
	function submitData(){
		$('#datapublish_form').ajaxSubmit({ 
			dataType:  'json',
			beforeSubmit:  validate,
			success:  function processJson(data) {
			} 
		});
	}
</script>
</head>

<body>
	<div id="backstage">
		<div id="backstage_centen">
			<%@include file="../top.jsp"%>
			<div id="leftside">
				<%@include file="../left.jsp"%>
			</div>
			<div id="rightsiber">
				<%@ page language="java" pageEncoding="UTF-8"%>
				<form id="datapublish_form" action="<%=request.getContextPath()%>/data/publish.do" method="POST" enctype="multipart/form-data">
					<table class="form" width="800" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="150" height="50" align="right" valign="middle"><p >选择公司： </p></td>
                        <td align="left" valign="middle"><label>
                          <select id="sel_Company" name="companyCode">
                          	<option value="-1">-请选择所属公司-</option>
                          </select>
                        </label></td>
                      </tr>
          			  <tr>
          			  	<td width="150" height="50" align="right" valign="middle"><p >上传发布的EXCEL文件： </p></td>
          			  	<td align="left" valign="middle"><label><input type="file" name="file" /></label></td>
          			  </tr>
                      
                      <tr>
                        <td width="150" height="50" align="right" valign="middle">&nbsp;</td>
                        <td align="left" valign="middle"><label>
                          <input type="submit" name="button" id="button"  class="inputb" value="发布"/>
                          <input type="reset" name="button2" id="button2" class="inputb" value="重置" />
                        </label></td>
                      </tr>
                </table>
				</form>
			</div>
			<%@include file="../footer.jsp"%>
		</div>
	</div>
</body>
</html>
